home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19970626-19970929 / 000296_news@newsmaster….columbia.edu _Thu Sep 4 17:58:09 1997.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id RAA20377
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Thu, 4 Sep 1997 17:58:08 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id RAA06840
  7.     for kermit.misc@watsun; Thu, 4 Sep 1997 17:58:08 -0400 (EDT)
  8. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  9. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Re: Exit on busy signal
  12. Date: 4 Sep 1997 21:58:03 GMT
  13. Organization: Columbia University
  14. Lines: 39
  15. Message-ID: <5unatb$kob$1@apakabar.cc.columbia.edu>
  16. References: <340F26E0.52BA@deepsea.demon.co.uk>
  17. NNTP-Posting-Host: watsun.cc.columbia.edu
  18. Xref: news.columbia.edu comp.protocols.kermit.misc:7616
  19.  
  20. In article <340F26E0.52BA@deepsea.demon.co.uk>,
  21. Simon Hanmer  <sch@deepsea.demon.co.uk> wrote:
  22. : I'm hoping someone here can help - I have a script which looks something
  23. : like:
  24. :    set line /dev/xxx
  25. :    set speed 9600
  26. :    set modem type hayes
  27. :    dial nnnnnnn
  28. :    if failure exit
  29. :    echo hi
  30. :    exit
  31. : The problem comes if the modem hits a busy signal - its recognises it
  32. : and executes the 'if failure' - the problem is that I then get a message
  33. : saying something like 'there may still be a connection on /dev/xxx - do
  34. : you want to exit ?' and I need to answer yes or no manually. Is there a
  35. : way of disabling this action, so that the exit returns straight to the
  36. : prompt.
  37. : Thanks,
  38. :    Simon - a desperate kermit novice.
  39. :
  40. Look in your "Using C-Kermit" manual.  The section on program termination
  41. (pages 463-465) it tells you all about this (found by looking up EXIT in
  42. the index).  The command is "set exit warning off".  In case you don't have
  43. a copy of the manual, see:
  44.  
  45.   http://www.columbia.edu/kermit/ck60manual.html
  46.  
  47. for information on how to get it.
  48.  
  49. Meanwhile, you shouldn't be getting the warning in the first place if (a)
  50. the modem is not presenting the CD signal (which it shouldn't be in this
  51. case), and (b) your Kermit implementation is allowed to access modem
  52. signals.  But you didn't say which version of C-Kermit you have, on which
  53. platform.
  54.  
  55. - Frank